encoding/json.decodeState.readIndex (method)

22 uses

	encoding/json (current package)
		decode.go#L223: func (d *decodeState) readIndex() int {
		decode.go#L384: 		start := d.readIndex()
		decode.go#L388: 			if err := d.literalStore(d.data[start:d.readIndex()], v, false); err != nil {
		decode.go#L505: 		start := d.readIndex()
		decode.go#L602: 		start := d.readIndex()
		decode.go#L672: 		start := d.readIndex()
		decode.go#L674: 		item := d.data[start:d.readIndex()]
		decode.go#L867: 			d.saveError(&UnmarshalTypeError{Value: val, Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L908: 				d.saveError(&UnmarshalTypeError{Value: "bool", Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L916: 				d.saveError(&UnmarshalTypeError{Value: "bool", Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L930: 			d.saveError(&UnmarshalTypeError{Value: "string", Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L933: 				d.saveError(&UnmarshalTypeError{Value: "string", Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L952: 				d.saveError(&UnmarshalTypeError{Value: "string", Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L975: 			d.saveError(&UnmarshalTypeError{Value: "number", Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L983: 				d.saveError(&UnmarshalTypeError{Value: "number", Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L991: 				d.saveError(&UnmarshalTypeError{Value: "number " + s, Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L999: 				d.saveError(&UnmarshalTypeError{Value: "number " + s, Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L1007: 				d.saveError(&UnmarshalTypeError{Value: "number " + s, Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L1078: 		start := d.readIndex()
		decode.go#L1080: 		item := d.data[start:d.readIndex()]
		decode.go#L1117: 	start := d.readIndex()
		decode.go#L1120: 	item := d.data[start:d.readIndex()]